home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac 1993 September / September 93.iso / Apple / Apple Systems / Apple Releases 93 / AppleScript- Description < prev    next >
Text File  |  1993-10-10  |  7KB  |  148 lines

  1. AppleScript: Description
  2.  
  3. Copyright 1993, Apple Computer, Inc.
  4.  
  5. Article Created: 20 April 1993 (Extracted from the Tech Info Library, Apple
  6. Computer, Inc's technical information database on AppleLink. The AppleLink path
  7. to the library is - Support:Problem Resolution:Tech Info Library.)
  8.  
  9.  
  10.  TOPIC -----------------------------------------------------------
  11.  
  12.  AppleScript is a full-featured, object-oriented, programming language built
  13.  into the Macintosh operating system.  It can access internal software
  14.  functionality of applications supporting the Open Scripting Architecture
  15.  (OSA) of System 7.
  16.  
  17.  
  18.  DISCUSSION ------------------------------------------------------
  19.  
  20.  AppleScript extends the Macintosh graphical user interface to offer
  21.  automation, customization, and application integration via scripting
  22.  capabilities.  AppleScript allows tailoring applications for developers.
  23.  The AppleScript product consists of a language, a system software
  24.  extension, a scripting environment, and add-on utilities.
  25.  
  26.  Features
  27.  --------
  28.  • A natural, English-like syntax that can be localized and/or replaced.
  29.  • Integration with the Open Scripting Architecture for seamless
  30.    communication with multiple applications both within a computer and
  31.    across networks.
  32.  • Use of OSA standards that enable a consistent scripting experience.
  33.  • A Script Editor utility that records scripts from user actions.
  34.  
  35.  Benefits
  36.  --------
  37.  • Rapid custom solution development for business problems.
  38.  • Automation of complex tasks and work flows within organizations.
  39.  • Simplification of desktop and network administration within
  40.    organizations.
  41.  • Automation of routine tasks that can increase personal productivity.
  42.  
  43.  Configuration Requirements
  44.  --------------------------
  45.  AppleScript requires a Macintosh configured with:
  46.  
  47.  • A 68000 or greater processor
  48.  • Minimum 4 megabytes of RAM.
  49.  • System 7.0 or later
  50.  
  51.  RAM Impact
  52.  ----------
  53.  With no scripts running, AppleScript takes up less than 5K of RAM.  A
  54.  running script occupies less than 250K of RAM.  Editing and compiling a
  55.  script consumes around 750K RAM.
  56.  
  57.  The AppleScript Extension requires 250K of disk space when installed
  58.  uncompressed whether on the hard disk or on floppy disks.  Toy Surprise
  59.  requires 150K of disk space.  Quill requires 100K of disk space.
  60.  
  61.  Language
  62.  --------
  63.  The AppleScript language takes an "English-like" approach. In addition,
  64.  it's flexible enough to adapt easily to the needs of languages other than
  65.  English. The base AppleScript language includes language control structures
  66.  (repeat, if...then, and so on) and a library of built-in commands.  The
  67.  default syntax of AppleScript is similar to HyperTalk in its natural
  68.  language approach, but is more regular and predictable.  The default
  69.  AppleScript syntax can be replaced with localized language dialects or
  70.  programming languages (Basic-like, C-like).
  71.  
  72.  System Software
  73.  ---------------
  74.  AppleScript is implemented as a component, and makes use of the QuickTime
  75.  Component Manager.  This makes it accessible to any developer who wants to
  76.  take advantage of it to give an application intuitive, consistent scripting
  77.  capabilities.  Implementing the scripting system at the system software
  78.  level, makes scripting an integral part of the Macintosh computing
  79.  environment.
  80.  
  81.  Scripting Environments
  82.  ----------------------
  83.  AppleScript will be delivered with a simple script generation and editing
  84.  facility known as the Script Editor. The Script Editor generates scripts by
  85.  "watching" the user's actions.  The scripts can then be edited and run by
  86.  the user.  The End User and Professional versions of the Script Editor will
  87.  differ in particular features, but the basic interface will be the same.
  88.  
  89.  Add-on Utilities and Extensions
  90.  -------------------------------
  91.  Several add-on components complete the scripting product for different
  92.  users.  Sample Scripts help teach in-house developers how scripting can be
  93.  used to solve pertinent business problems.  These sample scripts can be
  94.  modified to meet their particular needs.  End Users can use sample scripts
  95.  to make their Macintosh computing experience more convenient and effective.
  96.  A script launching utility launches scripts while the computer's owner is
  97.  absent.  Finally, Open Scripting Architecture Extensions (OSACS) can extend
  98.  the reach of AppleScript into other development arenas.
  99.  
  100.  Usage Scenarios
  101.  ---------------
  102.  The following categories are the major classes of functionality that
  103.  AppleScripts will enable. Integration of Applications into Custom Solutions
  104.  Applications are used as building blocks and "glued" together to create
  105.  new, custom solutions from existing applications.  These could be internal
  106.  or commercial solution sets.  A custom front-end might be built that uses
  107.  attached scripts to communicate with different applications while keeping
  108.  this activity transparent to the user.
  109.  
  110.  Work flow
  111.  ---------
  112.  You can use scripts to automate the process of working:  the movement of
  113.  data, documents, and information from person to person, machine to machine,
  114.  department to department, and application to application.  Work flow
  115.  scripts will automate some aspect of a group's work process such as
  116.  tracking and reporting the status of project elements, managing versions,
  117.  routing documents, and archiving files.  They are likely to afford a
  118.  low-cost minimum-feature alternative for those who do not require extensive
  119.  document management systems.  Work flow scripts will access, manage and
  120.  report the "data about data" in their working environment and drive
  121.  applications for communication, including electronic mail.
  122.  
  123.  Administration
  124.  --------------
  125.  Scripts will perform administrative functions including software
  126.  installation and upgrades, backups, remote user support, and
  127.  trouble-shooting across local area networks.
  128.  
  129.  Unattended Computing
  130.  --------------------
  131.  Unattended scripts take the place of the user interaction with the
  132.  Macintosh and provide for the execution of pre-determined instructions when
  133.  specified conditions are met. Scripts let the user "set-and-forget" a
  134.  series of things to be done by an application, or several applications
  135.  together.  Users will write scripts which test for certain conditions in
  136.  their environment, in some document, or in another Mac across the network
  137.  and execute when those conditions are met.  Users will impose time
  138.  conditions on unattended scripts to allow delayed execution, often
  139.  overnight.
  140.  
  141. Posted to:
  142. Apple Products
  143. New Apple Products
  144. Apr-93 New Product Announcements
  145. 6-May-93
  146.  
  147.  
  148.